package com.approval.dto;

import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * 用户响应DTO
 */
@Data
public class UserResponse {
    
    private Long id;
    private String username;
    private String name;
    private String email;
    private String phone;
    private String department;
    private String position;
    private String avatar;
    private Integer status;
    private Date createTime;
    private Date updateTime;
    
    // 扩展信息
    private String employeeId;
    private String departmentCode;
    private String departmentName;
    private String positionCode;
    private String positionName;
    private Long managerId;
    private String managerName;
    private Date hireDate;
    private Date expireDate;
    private Date passwordExpireDate;
    private Date lastLoginTime;
    private Integer loginCount;
    private Integer failedLoginCount;
    private Date lockedUntil;
    
    // 角色信息
    private List<RoleResponse> roles;
    
    // 权限信息
    private List<PermissionResponse> permissions;
}
